New utility function. (gtk_file_system_gnome_vfs_get_folder): Use
authorFederico Mena Quintero <federico@ximian.com>
Mon, 20 Oct 2003 20:17:35 +0000 (20:17 +0000)
committerFederico Mena Quintero <federico@src.gnome.org>
Mon, 20 Oct 2003 20:17:35 +0000 (20:17 +0000)
2003-10-20  Federico Mena Quintero  <federico@ximian.com>

* gtkfilesystemgnomevfs.c (folder_child_new): New utility
function.
(gtk_file_system_gnome_vfs_get_folder): Use folder_child_new().
(gtk_file_folder_gnome_vfs_get_info): Likewise.
(directory_load_callback): Likewise.
(monitor_callback): Likewise.

* TODO: Removed the item about factoring out the code that creates
FolderChild structures.

gtk/gtkfilesystemunix.c

index 629337ee8ae476a2f62a4da417779677999b02db..ded5389ceb4f7108518b5198c05909aef116342f 100644 (file)
@@ -548,6 +548,7 @@ gtk_file_system_unix_add_bookmark (GtkFileSystem     *file_system,
                                   const GtkFilePath *path,
                                   GError           **error)
 {
+  /* FIXME: Implement as a really simple ~/.gtk-bookmarks */
   g_set_error (error,
               GTK_FILE_SYSTEM_ERROR,
               GTK_FILE_SYSTEM_ERROR_FAILED,
@@ -560,6 +561,7 @@ gtk_file_system_unix_remove_bookmark (GtkFileSystem     *file_system,
                                      const GtkFilePath *path,
                                      GError           **error)
 {
+  /* FIXME: Implement as a really simple ~/.gtk-bookmarks */
   g_set_error (error,
               GTK_FILE_SYSTEM_ERROR,
               GTK_FILE_SYSTEM_ERROR_FAILED,
@@ -570,6 +572,7 @@ gtk_file_system_unix_remove_bookmark (GtkFileSystem     *file_system,
 static GSList *
 gtk_file_system_unix_list_bookmarks (GtkFileSystem *file_system)
 {
+  /* FIXME: Implement as a really simple ~/.gtk-bookmarks */
   return NULL;
 }